package com.shop.cereshop.business.dao.notice;

import com.shop.cereshop.commons.domain.notice.CereNotice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CereNoticeDAO {
    int deleteByPrimaryKey(Long noticeId);

    int insert(CereNotice record);

    int insertSelective(CereNotice record);

    CereNotice selectByPrimaryKey(Long noticeId);

    int updateByPrimaryKeySelective(CereNotice record);

    int updateByPrimaryKey(CereNotice record);

    void insertBatch(@Param("list") List<CereNotice> list);
}